/*
 * commons is a based project implemented
 * Copyright (C) 2024 Jasmine
 */
package com.commons.uid.utils;

import org.apache.commons.lang3.EnumUtils;

/**
 * {@code ValuedEnum} defines an enumeration which is bounded to a value, you may implements this interface when you
 * defines such kind of enumeration, that you can use {@link EnumUtils} to simplify parse and valueOf operation.
 *
 * @author yutianbao
 */
public interface ValuedEnum<T> {
    T value();
}
